import os
 
def get_log_path():
    project_path = os.path.dirname(os.path.dirname(__file__))
    log_path = project_path + os.sep + "log"
    folder = os.path.exists(log_path)
    if not folder:
        os.makedirs(log_path)
    return log_path